<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:usrs="http://tecnologie-web.studenti.math.unipd.it/tecweb/~ccardin/"
                exclude-result-prefixes="usrs">

<xsl:output method='xml' version='1.0' encoding='UTF-8' indent='yes' omit-xml-declaration='yes'/>
<xsl:template match="/">
    <table>
		<tr><th>#</th><th>Name</th><th>Surname</th><th>Username</th><th>Email</th><th>Country</th><th>Affiliation</th></tr>
		<xsl:for-each select="usrs:users/usrs:user[@administrator='no']">
			<tr>
				<td><xsl:value-of select="position()" /></td>
			<td><xsl:value-of select="usrs:name"/></td><td><xsl:value-of select="usrs:surname"/></td><td><xsl:value-of select="usrs:username"/>
			</td><td><xsl:value-of select="usrs:email"/>
			</td><td><xsl:value-of select="usrs:country"/>
			</td><td><xsl:value-of select="usrs:organization"/></td>
			</tr>
		</xsl:for-each>
		<xsl:for-each select="usrs:users/usrs:user[@administrator='no']">
			<p>&#160;<xsl:value-of select="usrs:email"/></p>
		</xsl:for-each>
	</table>
</xsl:template>
    
</xsl:stylesheet>
